package com.example.pcl.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(name = "管理员登录DTO")
public class AdminLoginDto {
    @NotNull
    @NotEmpty
    @NotBlank
    @Schema(description = "用户名", deprecated = true)
    private String username;

    @NotNull
    @NotEmpty
    @NotBlank
    @Schema(description = "密码", deprecated = true)
    private String password;
}
